﻿/*******************************************************************************
 * Copyright @ 2017 YunSpace.Framework 版权所有
 * Author: GaoTang
 * Description: YunSpace 快速开发平台
 * Website：http://www.yunspace.com.cn
*********************************************************************************/
#region USING SYSTEM
using System;
#endregion

namespace YunSpace.Domain.Entity.OrderFlowManage
{
    public class ClientOrderEntity : IEntity<ClientOrderEntity>, ICreationAudited, IModificationAudited, IDeleteAudited
    {
        ///<summary>
        /// 编号
        /// </summary>
        public string F_Id{ get; set; }

        ///<summary>
        /// 需求编号
        /// </summary>
        public string F_DemandId{ get; set; }

        /// <summary>
        /// 是否只读
        /// </summary>
        public Nullable<int> F_IsRead { get; set; }

        ///<summary>
        /// 销售人员编号
        /// </summary>
        public string F_FlowUserId { get; set; }

        ///<summary>
        /// 原来销售人员编号--做让单操作
        /// </summary>
        public string F_OldFlowUserId { get; set; }

        ///<summary>
        /// 订单流程编号
        /// </summary>
        public string F_WorkFormId { get; set; }
        

        ///<summary>
        /// 订单阶段0指派1场地推荐2带看场地3意向场地4价格谈判5场地预定6签订合同7订单完成
        /// </summary>
        public Nullable<int> F_OrderState{ get; set; }

        ///<summary>
        /// 当前状态的进度0等待确认1通过2驳回
        /// </summary>
        public Nullable<int> F_OrderStateProcess{ get; set; }

        /// <summary>
        /// 订单环境：0:历史记录，1：订单管理，2：订单公海,3：关闭
        /// </summary>
        public Nullable<int> F_OrderEnvironment { get; set; }
        /// <summary>
        /// 订单状态:0:无效,1:有效，2：信息不完整
        /// </summary>
        public Nullable<int> F_State { get; set; }

        public Nullable<int> F_IsCheck { get; set; }

        ///<summary>
        /// 是否让单
        /// </summary>
        public Nullable<bool> F_SignOut { get; set; }

        ///<summary>
        /// 删除状态
        /// </summary>
        public Nullable<bool> F_DeleteMark { get; set; }

        ///<summary>
        /// 创建时间
        /// </summary>
        public Nullable<System.DateTime> F_CreatorTime{ get; set; }

        ///<summary>
        /// 创建者
        /// </summary>
        public string F_CreatorUserId{ get; set; }

        ///<summary>
        /// 修改时间
        /// </summary>
        public Nullable<System.DateTime> F_LastModifyTime{ get; set; }

        ///<summary>
        /// 修改者
        /// </summary>
        public string F_LastModifyUserId{ get; set; }

        ///<summary>
        /// 删除时间
        /// </summary>
        public Nullable<System.DateTime> F_DeleteTime{ get; set; }

        ///<summary>
        /// 删除者
        /// </summary>
        public string F_DeleteUserId{ get; set; }

    }
}

